#include"comm.h"
#include<unistd.h>
int main(){
    int shmid = ShmCreateClient();
    char* shmpoint = (char*)ShmAttach(shmid);
    int n = 0;
    const char* str = "I am client";
    while(true){
        sleep(1);
        snprintf(shmpoint,DYNAMICS_SIZE,"%d I am client...\n" ,n++);
    }
    ShmDetach((void*)shmpoint);
    return 0;
}
